﻿using FreeDream.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FreeDream.IService
{
    /// <summary>
    /// DBFirst测试
    /// </summary>
    public interface IPostService : IDependency
    {
        bool AddPost(Post post);

        bool UpdatePost(Post post);

        bool RemovePost(string Id);

        List<Post> GetAllPosts();

        Post GetPostById(string Id);
    }
}
